package cmcciot.onenet.nbapi.sdk.entity;

import cmcciot.onenet.nbapi.sdk.config.Config;

public class GetDevice extends CommonEntity{

    private long page;

    public GetDevice(long page) {
        this.page = page;
    }

    public String toUrl() {
        StringBuilder url = new StringBuilder(Config.getDomainName());
        url.append("/devices?page="+page);
        return url.toString();
    }
}
